package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.Charge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChargeMapper {
    int insert(Charge charge);

    int update(Charge charge);

    int delete(int id);

    List<Charge> selectByPage(Charge charge);
    Charge selectById(int id);
    List<Charge> selectAll();
}
